/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: jse2302 - Exce4
 * <p>Powered by webrx On 2023-06-21 16:49:18
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Exce4 {
    public static void main(String[] args) {
        System.out.println(t());
    }

    public static int t() {
        int i = 1;
        try {
            i++;
            //int y = 6 /0;
            System.out.println("try:" + i);
            return i;
        } catch (Exception e) {
            i++;
            System.out.println("catch:" + i);
        }finally {
            i++;
            System.out.println("finally:" + i);
            return i;
        }
        //return i;
    }
}
